// 添加会员约束
interface AddVipApiRes {
    code: number;
    msg: string;
}
// 获取会员约束
interface GetVipApiRes {
  code: number;
  msg: string;
  total: number;
  viplist: Viplist[];
}

interface Viplist {
  id: string;
  vipName: string;
  sex: string;
  vipPhone: string;
  openTime: string;
  expires: string;
  consumed:string,
  born: string;
  payMethod: string;
  openMoney: string;
  vipRank: string;
  money: string;
  score: string;
  openStaff: string;
  createTime: string;
  belongToShop: string;
  status: number;
}
// 禁用会员req
interface deleteVipReq {
    id:string,
    status:number
}
// 禁用会员Res
interface deleteVipRes {
  code: number;
  msg: string;
}

// 修改会员Req
interface updateVipReq {
  expires: string;
  id: string;
  money: string;
  openStaff: string;
  score: string;
  sex: string;
  status: string;
  vipName: string;
  vipPhone: string;
  vipRank: string;
}

// 修改会员Res
interface updateVipRes {
  code: number;
  msg: string;
}

// 搜索会员Req
interface searchVipReq {
  keyWord: string;
}
// 搜索会员Res
interface searchVipRes {
  code: number;
  msg: string;
  viplist: Viplist[];
}

interface Viplist {
  id: string;
  vipName: string;
  sex: string;
  vipPhone: string;
  openTime: string;
  expires: string;
  vipRank: string;
  consumed: string;
  money: string;
  score: string;
  openStaff: string;
  status: number;
}